﻿





namespace UFIDA.U9.Cust.U9Demo.DeliveryBP
{
	using System;
	using System.Collections.Generic;
	using System.Text;
	using System.Reflection;
	using UFSoft.UBF.AopFrame; 	

	/// <summary>
	/// 查询采购订单行 business operation
	/// 
	/// </summary>
	[Serializable]	
	public partial class QueryDoc
	{
	    #region Fields
		private System.Int64 pO;
		private System.String pO_DocNo;
		private System.Int64 supplier;
		private System.String supplier_Code;
		private System.DateTime date;
		private System.Int64 item;
		private System.String item_Code;
		
	    #endregion
		
	    #region constructor
		public QueryDoc()
		{}
		
	    #endregion

	    #region member		
		/// <summary>
		/// 采购订单ID	
		/// 查询采购订单行.Misc.采购订单ID
		/// </summary>
		/// <value></value>
		public System.Int64 PO
		{
			get
			{
				return this.pO;
			}
			set
			{
				pO = value;
			}
		}
		/// <summary>
		/// 采购订单号	
		/// 查询采购订单行.Misc.采购订单号
		/// </summary>
		/// <value></value>
		public System.String PO_DocNo
		{
			get
			{
				return this.pO_DocNo;
			}
			set
			{
				pO_DocNo = value;
			}
		}
		/// <summary>
		/// 供应商ID	
		/// 查询采购订单行.Misc.供应商ID
		/// </summary>
		/// <value></value>
		public System.Int64 Supplier
		{
			get
			{
				return this.supplier;
			}
			set
			{
				supplier = value;
			}
		}
		/// <summary>
		/// 供应商编码	
		/// 查询采购订单行.Misc.供应商编码
		/// </summary>
		/// <value></value>
		public System.String Supplier_Code
		{
			get
			{
				return this.supplier_Code;
			}
			set
			{
				supplier_Code = value;
			}
		}
		/// <summary>
		/// 业务日期	
		/// 查询采购订单行.Misc.业务日期
		/// </summary>
		/// <value></value>
		public System.DateTime Date
		{
			get
			{
				return this.date;
			}
			set
			{
				date = value;
			}
		}
		/// <summary>
		/// 料品	
		/// 查询采购订单行.Misc.料品
		/// </summary>
		/// <value></value>
		public System.Int64 Item
		{
			get
			{
				return this.item;
			}
			set
			{
				item = value;
			}
		}
		/// <summary>
		/// 料号	
		/// 查询采购订单行.Misc.料号
		/// </summary>
		/// <value></value>
		public System.String Item_Code
		{
			get
			{
				return this.item_Code;
			}
			set
			{
				item_Code = value;
			}
		}
	    #endregion
		
	    #region do method 
		[Transaction(UFSoft.UBF.Transactions.TransactionOption.Supported)]
		[Logger]
		[Authorize]
		public List<UFIDA.U9.Cust.U9Demo.DeliveryBP.ResultDTO> Do()
		{	
		    BaseStrategy selector = Select();	
				List<UFIDA.U9.Cust.U9Demo.DeliveryBP.ResultDTO> result =  (List<UFIDA.U9.Cust.U9Demo.DeliveryBP.ResultDTO>)selector.Execute(this);	
		    
			return result ; 
		}			
	    #endregion 					
	} 		
}
